package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 停车场信息对象 parking_info
 *
 * @author dongdong
 * @date 2025-09-11
 */
public class ParkingInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 停车场编码 */
    @Excel(name = "停车场编码")
    private String parkCode;

    /** 停车场名称 */
    @Excel(name = "停车场名称")
    private String parkName;

    /** 下级平台ID */
    @Excel(name = "下级平台ID")
    private String platformId;

    /** 停车场类型 */
    @Excel(name = "停车场类型")
    private Integer parkType;

    /** 总车位 */
    @Excel(name = "总车位")
    private Integer totalLot;

    /** 余位 */
    @Excel(name = "余位")
    private Integer idleLot;

    /** 包月总车位 */
    @Excel(name = "包月总车位")
    private Integer monthTotalLot;

    /** 包月车位的余位 */
    @Excel(name = "包月车位的余位")
    private Integer monthIdleLot;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 经度 */
    @Excel(name = "经度")
    private Double longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private Double latitude;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 收费详情 */
    @Excel(name = "收费详情")
    private String chargeDetail;

    /** 免费时长 */
    @Excel(name = "免费时长")
    private Long feeOutTime;

    /** 一级标题（移动端） */
    @Excel(name = "一级标题", readConverterExp = "移=动端")
    private String firstTitle;

    /** 二级标题（移动端） */
    @Excel(name = "二级标题", readConverterExp = "移=动端")
    private String secondTitle;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 删除标志（0存在 1删除） */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setParkCode(String parkCode)
    {
        this.parkCode = parkCode;
    }

    public String getParkCode()
    {
        return parkCode;
    }
    public void setParkName(String parkName)
    {
        this.parkName = parkName;
    }

    public String getParkName()
    {
        return parkName;
    }
    public void setPlatformId(String platformId)
    {
        this.platformId = platformId;
    }

    public String getPlatformId()
    {
        return platformId;
    }
    public void setParkType(Integer parkType)
    {
        this.parkType = parkType;
    }

    public Integer getParkType()
    {
        return parkType;
    }
    public void setTotalLot(Integer totalLot)
    {
        this.totalLot = totalLot;
    }

    public Integer getTotalLot()
    {
        return totalLot;
    }
    public void setIdleLot(Integer idleLot)
    {
        this.idleLot = idleLot;
    }

    public Integer getIdleLot()
    {
        return idleLot;
    }
    public void setMonthTotalLot(Integer monthTotalLot)
    {
        this.monthTotalLot = monthTotalLot;
    }

    public Integer getMonthTotalLot()
    {
        return monthTotalLot;
    }
    public void setMonthIdleLot(Integer monthIdleLot)
    {
        this.monthIdleLot = monthIdleLot;
    }

    public Integer getMonthIdleLot()
    {
        return monthIdleLot;
    }
    public void setContactPerson(String contactPerson)
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson()
    {
        return contactPerson;
    }
    public void setContactPhone(String contactPhone)
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone()
    {
        return contactPhone;
    }
    public void setLongitude(Double longitude)
    {
        this.longitude = longitude;
    }

    public Double getLongitude()
    {
        return longitude;
    }
    public void setLatitude(Double latitude)
    {
        this.latitude = latitude;
    }

    public Double getLatitude()
    {
        return latitude;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setChargeDetail(String chargeDetail)
    {
        this.chargeDetail = chargeDetail;
    }

    public String getChargeDetail()
    {
        return chargeDetail;
    }
    public void setFeeOutTime(Long feeOutTime)
    {
        this.feeOutTime = feeOutTime;
    }

    public Long getFeeOutTime()
    {
        return feeOutTime;
    }
    public void setFirstTitle(String firstTitle)
    {
        this.firstTitle = firstTitle;
    }

    public String getFirstTitle()
    {
        return firstTitle;
    }
    public void setSecondTitle(String secondTitle)
    {
        this.secondTitle = secondTitle;
    }

    public String getSecondTitle()
    {
        return secondTitle;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("parkCode", getParkCode())
                .append("parkName", getParkName())
                .append("platformId", getPlatformId())
                .append("parkType", getParkType())
                .append("totalLot", getTotalLot())
                .append("idleLot", getIdleLot())
                .append("monthTotalLot", getMonthTotalLot())
                .append("monthIdleLot", getMonthIdleLot())
                .append("contactPerson", getContactPerson())
                .append("contactPhone", getContactPhone())
                .append("longitude", getLongitude())
                .append("latitude", getLatitude())
                .append("address", getAddress())
                .append("remark", getRemark())
                .append("chargeDetail", getChargeDetail())
                .append("feeOutTime", getFeeOutTime())
                .append("firstTitle", getFirstTitle())
                .append("secondTitle", getSecondTitle())
                .append("deptId", getDeptId())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
